package com.hilon.foundation.main_child;


import jakarta.persistence.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
import java.util.List;

@EqualsAndHashCode(callSuper = false)
@Data
@Entity
@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
public abstract class EntityBaseView<C extends EntityBaseChild,VC extends EntityBaseChild> {
    @Id
    protected String idCidStr;
    protected Long id;
    protected Long cid;
    @Transient
    protected List<C> children;
    @Transient
    protected List<VC> childrenView;

    private Boolean isDeleted;
    private String categoryType;
    private String categoryTypeDetail;


    private String no;
    private String name;
    private String baseDescribe;

    private String categoryName;
    private String baseLog;

    private String personCreate;
    private Date timeCreate;
    private String personEdit;
    private Date timeEdit;
    private String personCheck;
    private Date timeCheck;
    private String personInvalid;
    private Date timeInvalid;
}
